<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div class="pageContent">
	
	<form method="post" action="${path}/smBaseType/saveModel" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone)">
		<div class="pageFormContent nowrap" layoutH="100%">
			<dl>
				<dt>基础类型编码：</dt>
				<dd>
					<input type="text" id="vcode" name="smBaseType.vcode" maxlength="40" disabled="disabled" class="required" value="${smBaseType.vcode}"/>
				</dd>
			</dl>
			<dl>
				<dt>基础类型名称：</dt>
				<dd>
					<input type="text" id="vname" name="smBaseType.vname" maxlength="40" disabled="disabled" class="required" value="${smBaseType.vname}"/>
				</dd>
			</dl>
			<dl>
				<dt>备注：</dt>
				<dd>
					<textarea id="comments" name="smBaseType.comments" disabled="disabled"  cols="80" rows="5" >${smBaseType.comments}</textarea>
				</dd>
			</dl>
			<dl>
				<dd>
					<input type="hidden" id="pk_base_type" name="smBaseType.pk_base_type" maxlength="40" class="required" value="${smBaseType.pk_base_type}"/>
					<input type="hidden" id="ts" name="smBaseType.ts" maxlength="40" class="required" value="${smBaseType.ts}"/>
				</dd>
			</dl>
			
			
		</div>
	</form>
	
</div>


<script type="text/javascript">
function customvalidXxx(element){
	if ($(element).val() == "xxx") return false;
	return true;
}

$('#add').attr('href','${path}/smBaseType/addPage?smBaseType.pk_base_type=${smBaseType.pk_base_type}'); 
$('#delete').attr('href','${path}/smBaseType/delModel?smBaseType.pk_base_type=${smBaseType.pk_base_type}'); 
$('#edit').attr('href','${path}/smBaseType/editPage?smBaseType.pk_base_type=${smBaseType.pk_base_type}'); 
</script>

